package cn.zj.ssm.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/role")
@Controller
public class RoleController {
	
	@RequiresPermissions("role:list")
	@RequestMapping("/list")
	public String list() {

		return "role_list";
	}
	
	@RequiresPermissions("role:delete")
	@RequestMapping("/delete")
	public String delete() {
		
		return null;
	}
	@RequiresPermissions("role:insert")
	@RequestMapping("/insert")
	public String insert() {
		System.out.println("开始角色新增功能...");
		return null;
	}

}
